<html>
    <head>
        <title>UU-Ignore-Einstellungen</title>
    </head>
    <script src="jquery.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){

        $('#save').click(function() {
            var urls = $("#urls").val();
            localStorage["urls"] = urls;
            $('#status').text('URLs gespeichert!').fadeIn().delay(2000).fadeOut();
        });

        function restore() {
            var urls = localStorage['urls'];
            if (!urls) {
                return;
            }
            $('#urls').val(urls);
        }

        restore();

    });
    </script>

    <body>
        <h3>URLs der zu ignorierenden Threads:</h3>
        <textarea style="width: 800px; height: 400px;" id="urls">
        </textarea>
        <br>
        <button id="save">Speichern</button>
        <span style="display: none" id="status"></span><br/>
    </body>
</html>
